package org.casper.bean;
/**
 * 版块
 * project_name:forum<br>
 * package_name:org.casper.bean<br>
 * file_name:Board.java<br>
 * @author Casper<br>
 * create_date:2015年10月22日 下午4:22:59<br>
 * modified_date:
 * description:
 *
 */
public class Board {
	private int  id;				
	private String boardName;
	private String boardDesc;	
	private int pbid;					//父版块的id	
	private String addTime;				//添加时间
	
	public Board() {
	
	}
	
	public Board(String boardName, String boardDesc, int pbid, String addTime) {
		super();
		this.boardName = boardName;
		this.boardDesc = boardDesc;
		this.pbid = pbid;
		this.addTime = addTime;
	}

	public Board(int id, String boardName, String boardDesc, int pbid,
			String addTime) {
		super();
		this.id = id;
		this.boardName = boardName;
		this.boardDesc = boardDesc;
		this.pbid = pbid;
		this.addTime = addTime;
	}





	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBoardName() {
		return boardName;
	}

	public void setBoardName(String boardName) {
		this.boardName = boardName;
	}

	public String getBoardDesc() {
		return boardDesc;
	}

	public void setBoardDesc(String boardDesc) {
		this.boardDesc = boardDesc;
	}

	public int getPbid() {
		return pbid;
	}

	public void setPbid(int pbid) {
		this.pbid = pbid;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	@Override
	public String toString() {
		return "Board [id=" + id + ", boardName=" + boardName + ", boardDesc="
				+ boardDesc + ", pbid=" + pbid + ", addTime=" + addTime + "]";
	}
	
	
	
	

}
